package com.cxm.homework7.aspectJ.anno;

import org.springframework.stereotype.Repository;

@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public void add() {
        System.out.println("add user");
    }

    @Override
    public void del() {
        System.out.println("delete user");
        int i=1/0;
    }
}
